package list

import scala.collection.mutable.ListBuffer

object ListBufferDemo {
    def main(args: Array[String]): Unit = {
        val buffer = new ListBuffer[Int]
        buffer += 1
        buffer += 2
        buffer += 3
        println(buffer.toList)
    }
}
